﻿using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Collections.Generic;

using GDCommon.Util;

using GDModel.Enum;
using GDModel.Model;

using GDBLL.Scene;
using GDBLL.Scene.Control;
using GDBLL.Log;


namespace Web
{
    public partial class _Default : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            MapManager mm = new MapManager();

            NPC npc1 = new NPC(101,"王铁匠",NPCType.Iron);

            Room room1 = new Room(11, "铁匠铺", RoomType.Iron, new List<NPC>() { npc1 });
            City city1 = new City(1, "比齐", new List<Room>() { room1 });

            MapList mp = new MapList();
            mp.City = new City[] { city1 };

            mm.SaveMap(mp);


            DefaultLogHandler.LogManager.WriteLog("3333333333333333", LogType.Battle);
        }
    }


}
